<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
</head>
<body>
	<form action="" id="form2">
	<table width="690px" height="350px" border="0" align="center"
				cellpadding="3" cellspacing="1" bgcolor="#AEDEF4">
				<tr>
					<td align="center" bgcolor="#E2F7FE">
							<table width="99%" border="0" cellspacing="1" cellpadding="3">
								<tr style="height: 30px">

									<td width="20%" align="center"><strong>矫正单位:</strong>
									<input type="hidden" id="cgid" name="id" value="${id}" readonly="true"/>
									<input type="hidden" id="exjid" name="jid" value="${jid}" readonly="true"/></td>
									<td width="20%" align="left">
										<select name="jid" style="width: 172px; height: 30px" id="xjid" readonly="true"></select>
									</td>
									
								</tr>	
								<tr style="height: 30px">
							<td width="20%" align="center"><strong>姓&nbsp;&nbsp;&nbsp;&nbsp;名:</strong>
							<input type="hidden" id="exPid" name="pid" value="${pid}" readonly="true"/>
							</td>
									<td width="20%" align="left">
										<select name="pid" style="width: 172px; height: 30px" id="xpid" readonly="true"></select>
									</td>
									
								</tr>
							
								<tr>
									<td width="20%" align="center"><strong>监管等级</strong>
																	
									<td width="25%" align="left"><select name="grade"
									value="" style="width: 178px; height: 30px">
										<option value="二级宽管">二级宽管</option>
										<option value="一级宽管">一级宽管</option>
										<option value="普管">普管</option>										
										<option value="一级严管">一级严管</option>
										<option value="二级严管">二级严管</option>
								</tr>
								</tr>
								<tr>
									<td width="20%" align="center"><strong>报到频率:</strong></td>
                                    <td width="25%" align="left">
                                        <select name="frequency" value="请选择报到频率" style="width: 178px; height: 30px">
                                            <option value="每周一次">每周一次</option>
                                            <option value="每周二次">每周二次</option>
                                            <option value="每周三次">每周三次</option>
                                            <option value="每周四次">每周四次</option>
                                            <option value="每周五次">每周五次</option>
                                            <option value="每周六次">每周六次</option>
                                            <option value="每周七次">每周七次</option>
                                        </select>
                                    </td>
								</tr>
								<tr>
									<td width="20%" align="center"><strong>思想汇报:</strong></td>
									<td colspan="3" align="left"><textarea rows="3" cols="70" id="xreport" name="report">${report}</textarea>
									</td
								</tr>
								
							</table>
					</td>
				</tr>
				<tr>
					<td colspan="6" align="center">
						<div id="pagediv"></div>
					</td>
				</tr>
	</table>
	</form>
		<script type="text/javascript">
			var jid = ${jid};
			var pid = ${pid};
			//显示司法所，监管等级和矫正人员下拉框
			var getList = function() {
				$('#xjid').combobox({
					dataType : "json",
					url:'${request.contextPath}/grade/jselect',
				    valueField:'id',    
				    textField:'name',
				    onLoadSuccess : function() {  
						$("#xjid").combobox("setValue", ""+jid);
					 }
				});
				$('#xpid').combobox({ 
					dataType : "json",
					url:'${request.contextPath}/grade/pselect',
				    valueField:'id',    
				    textField:'name',
				    onLoadSuccess : function() {    
						$("#xpid").combobox("setValue", ""+pid);
				    }
				});
			}
			getList();
			</script>
</body>
</html>